package com.zxl.service.impl;

import com.zxl.dao.UserDao;
import com.zxl.domain.UserInfo;
import com.zxl.service.IUserSercice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserSerciceImpl implements IUserSercice {
    @Autowired
    private UserDao userDao;
    @Override
    public List<UserInfo> findAllUser() {
        return userDao.findAlluser();
    }
}
